{include file="public/same_header" /}


<!-- 右侧的开始 --><!-- hou_yszhguanli 后台的 医生账户管理 -->
<div class="right_bar jianchajilu hou_yszhguanli">
    {include file="public/main_bread" /}

        <div class="data">

            <div class="search_box">

                <!-- 输入  查找姓名 -->
                <div class="search_by_name">
                    <form action="" method="get">
                    <input type="text" name="name" value="{$search['name'] ?? ''}" placeholder="查找姓名或ID" >
                    <input type="submit"  class="search_btn tijiao_btn" style="">
                        </form>
                </div>

                <!-- 输入查找的  医生 -->

                <em class="new_member">
                    <a href="{:url('doctor/add_doctor')}"  class="btn-permission" data-url="doctor/add_doctor">新建用户</a>
                </em>

            </div>
            <!-- 日历的输入  开始 -->
            <!-- 下面的   列表 开始  -->
            <div class="liebiao">

                <div class="liebiao_dec">
                    <div class="liebiao_top">
                        <strong class="first">ID</strong>
                        <strong class="first">姓名</strong>
                        <strong class="third">添加时间</strong>
                        <strong class="forth">所属部门</strong>
                        <strong class="fifth">操作</strong>
                    </div>
                    <ul>
                        {foreach name="list" item="vo"}

                        <li>
										<span class="first">
											<em>{$vo['username']}</em>
										</span>
										<span class="second">
											<em>{$vo['name']}</em>
										</span>
										<span  class="third">
											<em>{$vo['create_time']}</em>
										</span>
										<span  class="forth">
											<em>{$vo['department_name']}</em>
										</span>
										<span class="fifth">
											<a  class=" btn-permission" data-url="doctor/edit_doctor" href="{:url('doctor/edit_doctor',array('id'=>$vo['id']))}">查看</a>
											 <a  class="a-post btn-permission" data-url="doctor/del_doctor" post-msg="你确定要删除吗" post-url="{:url('doctor/del_doctor',array('id'=>$vo['id']))}">
                                                 <input type="button" value="删除">
                                             </a>
										</span>
                        </li>

                    {/foreach}

                    </ul>
                </div>
            </div>
            <!-- 列表的结束 -->
            {include file="public/page" /}

        </div>
    </div>
</div>
<!-- 右侧的结束 -->
</div>
</div>
{include file="public/footer" /}